|
![](/i/fill.gif) |
"Chris Huff" wrote:
> are you only using matrix transformations?
No.
> Or were you only using shearing matrices as an example?
Yes.
> I'll be thinking about this problem for a while...
I've tried this:
#local SomeVector = x;
#local Small = 0.001;
#local N1 = Perpendiculize(SomeVector,N);
#local N2 = vcross(N1,N);
#local deformP = mezz_deform(P);
#local nN1 = mezz_deform(N1*Small+P)-deformP;
#local nN2 = mezz_deform(N2*Small+P)-deformP;
#local deformN = vnormalize(vcross(nN1,nN2));
It doesn't work, but I can't understand why.
( Perpendiculize(A,B) adjusts A so it is perpendicular to B. The adjusted A
is returned. )
Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 6)
/ Also visit http://www.povrayusers.org
Post a reply to this message
|
![](/i/fill.gif) |